package com.kl.airticketserver.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.time.LocalDateTime;

@TableName("sys_menu")
public class SysMenu {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    
    private String parentId;
    private String title;
    private Integer type;
    private String path;
    private String component;
    private String permission;
    private String icon;
    private String svgIcon;
    private Integer sort;
    private Integer status;
    private Integer keepAlive;
    private Integer hidden;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    
    public String getParentId() { return parentId; }
    public void setParentId(String parentId) { this.parentId = parentId; }
    
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    
    public Integer getType() { return type; }
    public void setType(Integer type) { this.type = type; }
    
    public String getPath() { return path; }
    public void setPath(String path) { this.path = path; }
    
    public String getComponent() { return component; }
    public void setComponent(String component) { this.component = component; }
    
    public String getPermission() { return permission; }
    public void setPermission(String permission) { this.permission = permission; }
    
    public String getIcon() { return icon; }
    public void setIcon(String icon) { this.icon = icon; }
    
    public String getSvgIcon() { return svgIcon; }
    public void setSvgIcon(String svgIcon) { this.svgIcon = svgIcon; }
    
    public Integer getSort() { return sort; }
    public void setSort(Integer sort) { this.sort = sort; }
    
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
    
    public Integer getKeepAlive() { return keepAlive; }
    public void setKeepAlive(Integer keepAlive) { this.keepAlive = keepAlive; }
    
    public Integer getHidden() { return hidden; }
    public void setHidden(Integer hidden) { this.hidden = hidden; }
    
    public LocalDateTime getCreateTime() { return createTime; }
    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }
    
    public LocalDateTime getUpdateTime() { return updateTime; }
    public void setUpdateTime(LocalDateTime updateTime) { this.updateTime = updateTime; }
}